package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.Peachblossom;

public interface PeachblossomApi {
    //查询
    Peachblossom findByUserId(Long id);

    //修改次数
    int updateRemainingTimes(Long id);

    //修改全部剩余次数
    void updateRemainingTimes(Integer num);
}
